package com.dkts.oil.test.road;

import lombok.Data;
import org.locationtech.jts.geom.Coordinate;

@Data

public class DistanceIndex {
    private int index;
    private double distance;

    private Coordinate startPoint;

    private Coordinate endPoint;

    private int geoIndex;

    public DistanceIndex(int index, double distance, Coordinate startPoint, Coordinate endPoint ) {
        this.index = index;
        this.distance = distance;
        this.startPoint = startPoint;
        this.endPoint = endPoint;
    }
}
